package com.lysj.admin.common.pay.domain;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author zk
 * @date 2018/3/29 10:57
 * @Description 用于包装发起支付所需的参数
 */
@Data
public class PayParam {

    private String appId; //appid
    private String appSecrect; //私钥
    private String mchId; //商户号
    private String openid; //微信用户唯一标识
    private String outTradeNo; //订单号
    private Integer tolPrice;//订单金额(元)

    public PayParam() {
    }

    public PayParam(String appId, String appSecrect, String mchId, String openid, String outTradeNo, Integer tolPrice) {
        this.appId = appId;
        this.appSecrect = appSecrect;
        this.mchId = mchId;
        this.openid = openid;
        this.outTradeNo = outTradeNo;
        this.tolPrice = tolPrice;
    }
}
